package com.building18.mapper;

import com.building18.pojo.Log;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LogMapper {
    @Select("select * from sys_log_opt")
    List<Log> selectLog();

    Integer deleteLog(Integer id);

    Integer deleteLogs(@Param("ids") List<Integer> ids);
}
